/**
 * 会员接口
 */

import {
	request
} from "../utils/request"

export const memberList = () => {
	// return request({
	// 	url: "/api/member/list",
	// 	method: "GET",
	// })
	return request({
		url: "/memberconfig/config",
		method: "GET",
	})
}
export const memberExp = () => {
	return request({
		url: "/member/experience-record/page",
		method: "GET",
	})
}


export const memberByUserId = (id) => {
	return request({
		url: "/member/ex/getInfoById?userId=" + id,
		method: "GET",
	})
}

export const getMemberInfo = () => {
	return request({
		url: "/api/member/getMemberInfo",
		method: "GET",
	})
}